package com.hera.base.service;

import java.io.Serializable;
import java.util.List;


public interface BaseService <DomainObject extends Serializable, KeyType extends Serializable> {

	public DomainObject findById(KeyType id);
	public void update(DomainObject entity);	       
	public void save(DomainObject entity);
	public void delete(DomainObject entity);
	public List<DomainObject> findAll();
}
